<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
		
		
		
			function Person(){
				
			}
			
			Person.prototype = {
				leg:"有脚",
				run:function(){
					console.log("能跑")
				}
			}
			
			var p1 = new Person()
			
			console.log(p1)
			console.log(Person)
			console.dir(Person)
			
			
			
			class man{
				constructor() {
				    
				}
				say(){
					console.log("能说话")
				}
			}
			
			var m1 = new man()
			console.log(m1)
			console.dir(man)
		</script>
	</body>
</html>
